"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[246],{26246:function(e,t,n){n.d(t,{OO:function(){return tM}});var o,r=n(67294),l=n(73935);function i(e,t){return n=>e(t(n))}function u(e,t){return t(e)}function a(...e){return e}function s(e){e()}function c(e){return void 0!==e}function d(){}function f(e){e(2)}function m(e){return e(4)}function h(e,t){return e(1,e=>t(0,e))}function p(e,t){let n=e(1,e=>{n(),t(e)});return n}function g(){let e=[];return(t,n)=>{switch(t){case 2:e.splice(0,e.length);return;case 1:return e.push(n),()=>{let t=e.indexOf(n);t>-1&&e.splice(t,1)};case 0:e.slice().forEach(e=>{e(n)});return;default:throw Error(`unrecognized action ${t}`)}}}function v(e){let t=e,n=g();return(e,o)=>{switch(e){case 1:o(t);break;case 0:t=o;break;case 4:return t}return n(e,o)}}function x(e){var t;return h(e,t=g()),t}function T(e,t){var n;return h(e,n=v(t)),n}function I(e,...t){let n=function(...e){return t=>e.reduceRight(u,t)}(...t);return(t,o)=>{switch(t){case 1:return e(1,n(o));case 2:f(e);return}}}function w(e,t){return e===t}function C(e=w){let t;return n=>o=>{e(t,o)||(t=o,n(o))}}function S(e){return t=>n=>{e(n)&&t(n)}}function E(e){return t=>i(t,e)}function y(e){return t=>()=>t(e)}function b(e,t){return n=>o=>n(t=e(t,o))}function H(e){return t=>n=>{e>0?e--:t(n)}}function R(e){let t,n=null;return o=>r=>{n=r,t||(t=setTimeout(()=>{t=void 0,o(n)},e))}}function z(e){let t,n;return o=>r=>{t=r,n&&clearTimeout(n),n=setTimeout(()=>{o(t)},e)}}function B(...e){let t=Array(e.length),n=0,o=null,r=Math.pow(2,e.length)-1;return e.forEach((e,l)=>{let i=Math.pow(2,l);e(1,e=>{let u=n;n|=i,t[l]=e,u!==r&&n===r&&o&&(o(),o=null)})}),e=>l=>{let i=()=>e([l].concat(t));n===r?i():o=i}}function k(...e){return function(t,n){switch(t){case 1:return function(...e){return()=>{e.map(s)}}(...e.map(e=>e(1,n)));case 2:return;default:throw Error(`unrecognized action ${t}`)}}}function L(e,t=w){return I(e,C(t))}function O(...e){let t=g(),n=Array(e.length),o=0,r=Math.pow(2,e.length)-1;return e.forEach((e,l)=>{let i=Math.pow(2,l);e(1,e=>{n[l]=e,(o|=i)===r&&t(0,n)})}),function(e,l){switch(e){case 1:return o===r&&l(n),t(1,l);case 2:return f(t);default:throw Error(`unrecognized action ${e}`)}}}function P(e,t=[],{singleton:n}={singleton:!0}){return{id:M(),constructor:e,dependencies:t,singleton:n}}let M=()=>Symbol(),F="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function A(e,t,n){let o=Object.keys(t.required||{}),l=Object.keys(t.optional||{}),i=Object.keys(t.methods||{}),u=Object.keys(t.events||{}),a=r.createContext({});function s(e,n){for(let r of(e.propsReady&&(0,e.propsReady)(0,!1),o)){let o=e[t.required[r]];o(0,n[r])}for(let o of l)if(o in n){let r=e[t.optional[o]];r(0,n[o])}e.propsReady&&(0,e.propsReady)(0,!0)}let c=r.forwardRef((c,m)=>{var h;let{children:p,...g}=c,[v]=r.useState(()=>{var t;return s(t=function(e){let t=new Map,n=({id:e,constructor:o,dependencies:r,singleton:l})=>{if(l&&t.has(e))return t.get(e);let i=o(r.map(e=>n(e)));return l&&t.set(e,i),i};return n(e)}(e),g),t}),[x]=r.useState(()=>{var e;return e=v,u.reduce((n,o)=>(n[o]=function(e){let t,n;let o=()=>t&&t();return function(r,l){switch(r){case 1:if(!l)return o(),d;if(n===l)return;return o(),n=l,t=e(1,l);case 2:o(),n=null;return;default:throw Error(`unrecognized action ${r}`)}}}(e[t.events[o]]),n),{})});return F(()=>{for(let e of u)e in g&&(0,x[e])(1,g[e]);return()=>{Object.values(x).map(f)}},[g,x,v]),F(()=>{s(v,g)}),r.useImperativeHandle(m,(h=i.reduce((e,n)=>(e[n]=e=>{let o=v[t.methods[n]];o(0,e)},e),{}),()=>h)),r.createElement(a.Provider,{value:v},n?r.createElement(n,function(e,t){let n={},o={},r=0,l=e.length;for(;r<l;)o[e[r]]=1,r+=1;for(let e in t)o.hasOwnProperty(e)||(n[e]=t[e]);return n}([...o,...l,...u],g),p):p)});return{Component:c,usePublisher:e=>{var t;return r.useCallback((t=r.useContext(a)[e],e=>{var n,o;(n=t)(0,o=e)}),[e])},useEmitterValue:e=>{let t=r.useContext(a),n=t[e],[o,l]=r.useState(()=>n(4));return F(()=>n(1,e=>{e!==o&&l(()=>e)}),[n,o]),o},useEmitter:(e,t)=>{let n=r.useContext(a),o=n[e];F(()=>o(1,t),[t,o])}}}let W="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;var N=((o=N||{})[o.DEBUG=0]="DEBUG",o[o.INFO=1]="INFO",o[o.WARN=2]="WARN",o[o.ERROR=3]="ERROR",o);let D={0:"debug",1:"log",2:"warn",3:"error"},V=()=>"undefined"==typeof globalThis?window:globalThis,G=P(()=>{let e=v(3),t=v((t,n,o=1)=>{var r;let l=null!=(r=V().VIRTUOSO_LOG_LEVEL)?r:e(4);o>=l&&console[D[o]]("%creact-virtuoso: %c%s %o","color: #0253b3; font-weight: bold","color: initial",t,n)});return{log:t,logLevel:e}},[],{singleton:!0});function _(e,t=!0){let n=r.useRef(null),o=e=>{};if("undefined"!=typeof ResizeObserver){let l=r.useMemo(()=>new ResizeObserver(t=>{let n=t[0].target;null!==n.offsetParent&&e(n)}),[e]);o=e=>{e&&t?(l.observe(e),n.current=e):(n.current&&l.unobserve(n.current),n.current=null)}}return{ref:n,callbackRef:o}}function U(e,t=!0){return _(e,t).callbackRef}function $(e,t,n,o,l,i,u){let a=r.useCallback(n=>{var r;let a=function(e,t,n,o){let r=e.length;if(0===r)return null;let l=[];for(let i=0;i<r;i++){let r=e.item(i);if(!r||void 0===r.dataset.index)continue;let u=parseInt(r.dataset.index),a=parseFloat(r.dataset.knownSize),s=t(r,n);if(0===s&&o("Zero-sized element, this should not happen",{child:r},N.ERROR),s===a)continue;let c=l[l.length-1];0===l.length||c.size!==s||c.endIndex!==u-1?l.push({startIndex:u,endIndex:u,size:s}):l[l.length-1].endIndex++}return l}(n.children,t,"offsetHeight",l),s=n.parentElement;for(;!s.dataset.virtuosoScroller;)s=s.parentElement;let c="window"===s.lastElementChild.dataset.viewportType,d=u?u.scrollTop:c?window.pageYOffset||document.documentElement.scrollTop:s.scrollTop,f=u?u.scrollHeight:c?document.documentElement.scrollHeight:s.scrollHeight,m=u?u.offsetHeight:c?window.innerHeight:s.offsetHeight;o({scrollTop:Math.max(d,0),scrollHeight:f,viewportHeight:m}),null==i||i(("normal"===(r=getComputedStyle(n).rowGap)||(null==r?void 0:r.endsWith("px"))||l("row-gap was not resolved to pixel value correctly",r,N.WARN),"normal"===r)?0:parseInt(null!=r?r:"0",10)),null!==a&&e(a)},[e,t,l,i,u,o]);return _(a,n)}function j(e,t){return Math.round(e.getBoundingClientRect()[t])}function K(e,t){return 1.01>Math.abs(e-t)}function q(e,t,n,o=d,i){let u=r.useRef(null),a=r.useRef(null),s=r.useRef(null),c=r.useCallback(n=>{let o=n.target,r=o===window||o===document,i=r?window.pageYOffset||document.documentElement.scrollTop:o.scrollTop,u=r?document.documentElement.scrollHeight:o.scrollHeight,c=r?window.innerHeight:o.offsetHeight,d=()=>{e({scrollTop:Math.max(i,0),scrollHeight:u,viewportHeight:c})};n.suppressFlushSync?d():l.flushSync(d),null!==a.current&&(i===a.current||i<=0||i===u-c)&&(a.current=null,t(!0),s.current&&(clearTimeout(s.current),s.current=null))},[e,t]);return r.useEffect(()=>{let e=i||u.current;return o(i||u.current),c({target:e,suppressFlushSync:!0}),e.addEventListener("scroll",c,{passive:!0}),()=>{o(null),e.removeEventListener("scroll",c)}},[u,c,n,o,i]),{scrollerRef:u,scrollByCallback:function(e){u.current.scrollBy(e)},scrollToCallback:function(n){let o,r,l;let i=u.current;if(!i||"offsetHeight"in i&&0===i.offsetHeight)return;let c="smooth"===n.behavior;i===window?(r=Math.max(j(document.documentElement,"height"),document.documentElement.scrollHeight),o=window.innerHeight,l=document.documentElement.scrollTop):(r=i.scrollHeight,o=j(i,"height"),l=i.scrollTop);let d=r-o;if(n.top=Math.ceil(Math.max(Math.min(d,n.top),0)),K(o,r)||n.top===l){e({scrollTop:l,scrollHeight:r,viewportHeight:o}),c&&t(!0);return}c?(a.current=n.top,s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{s.current=null,a.current=null,t(!0)},1e3)):a.current=null,i.scrollTo(n)}}}let Y=P(()=>{let e=g(),t=g(),n=v(0),o=g(),r=v(0),l=g(),i=g(),u=v(0),a=v(0),s=v(0),c=v(0),d=g(),f=g(),m=v(!1);return h(I(e,E(({scrollTop:e})=>e)),t),h(I(e,E(({scrollHeight:e})=>e)),i),h(t,r),{scrollContainerState:e,scrollTop:t,viewportHeight:l,headerHeight:u,fixedHeaderHeight:a,fixedFooterHeight:s,footerHeight:c,scrollHeight:i,smoothScrollTargetReached:o,scrollTo:d,scrollBy:f,statefulScrollTop:r,deviation:n,scrollingInProgress:m}},[],{singleton:!0}),Z={lvl:0};function J(e,t,n,o=Z,r=Z){return{k:e,v:t,lvl:n,l:o,r}}function Q(e){return e===Z}function X(e,t){return Q(e)?void 0:t===e.k?e.v:t<e.k?X(e.l,t):X(e.r,t)}function ee(e,t,n="k"){if(Q(e))return[-1/0,void 0];if(Number(e[n])===t)return[e.k,e.v];if(Number(e[n])<t){let o=ee(e.r,t,n);return o[0]===-1/0?[e.k,e.v]:o}return ee(e.l,t,n)}function et(e,t,n){var o,r;return Q(e)?J(t,n,1):t===e.k?eo(e,{k:t,v:n}):t<e.k?ea(es(eo(e,{l:et(e.l,t,n)}))):ea(es(eo(e,{r:et(e.r,t,n)})))}function en(e){return Q(e)?[]:[...en(e.l),{k:e.k,v:e.v},...en(e.r)]}function eo(e,t){return J(void 0!==t.k?t.k:e.k,void 0!==t.v?t.v:e.v,void 0!==t.lvl?t.lvl:e.lvl,void 0!==t.l?t.l:e.l,void 0!==t.r?t.r:e.r)}function er(e){return Q(e)||e.lvl>e.r.lvl}function el(e){let{l:t,r:n,lvl:o}=e;if(n.lvl>=o-1&&t.lvl>=o-1)return e;if(o>n.lvl+1){if(er(t))return es(eo(e,{lvl:o-1}));if(!Q(t)&&!Q(t.r))return eo(t.r,{l:eo(t,{r:t.r.l}),r:eo(e,{l:t.r.r,lvl:o-1}),lvl:o});throw Error("Unexpected empty nodes")}if(er(e))return ea(eo(e,{lvl:o-1}));if(Q(n)||Q(n.l))throw Error("Unexpected empty nodes");{let t=n.l,r=er(t)?n.lvl-1:n.lvl;return eo(t,{l:eo(e,{r:t.l,lvl:o-1}),r:ea(eo(n,{l:t.r,lvl:r})),lvl:t.lvl+1})}}function ei(e,t,n){if(Q(e))return[];let o=ee(e,t)[0];return eu(function e(t,n,o){if(Q(t))return[];let{k:r,v:l,l:i,r:u}=t,a=[];return r>n&&(a=a.concat(e(i,n,o))),r>=n&&r<=o&&a.push({k:r,v:l}),r<=o&&(a=a.concat(e(u,n,o))),a}(e,o,n),({k:e,v:t})=>({index:e,value:t}))}function eu(e,t){let n=e.length;if(0===n)return[];let{index:o,value:r}=t(e[0]),l=[];for(let i=1;i<n;i++){let{index:n,value:u}=t(e[i]);l.push({start:o,end:n-1,value:r}),o=n,r=u}return l.push({start:o,end:1/0,value:r}),l}function ea(e){let{r:t,lvl:n}=e;return Q(t)||Q(t.r)||t.lvl!==n||t.r.lvl!==n?e:eo(t,{l:eo(e,{r:t.l}),lvl:n+1})}function es(e){let{l:t}=e;return Q(t)||t.lvl!==e.lvl?e:eo(t,{r:eo(e,{l:t.r})})}function ec(e,t,n,o=0){let r=e.length-1;for(;o<=r;){let l=Math.floor((o+r)/2),i=e[l],u=n(i,t);if(0===u)return l;if(-1===u){if(r-o<2)return l-1;r=l-1}else{if(r===o)return l;o=l+1}}throw Error(`Failed binary finding record in array - ${e.join(",")}, searched for ${t}`)}let ed=P(()=>{let e=v(!1);return{recalcInProgress:e}},[],{singleton:!0});function ef(e,t){let n=0,o=0;for(;n<e;)n+=t[o+1]-t[o]-1,o++;let r=n===e;return o-(r?0:1)}function em({index:e},t){return t===e?0:t<e?-1:1}function eh({offset:e},t){return t===e?0:t<e?-1:1}function ep(e){return{index:e.index,value:e}}function eg(e,t,n,o){let r=e,l=0,i=0,u=0,a=0;if(0!==t){a=ec(r,t-1,em);let e=r[a];u=e.offset;let o=ee(n,t-1);l=o[0],i=o[1],r.length&&r[a].size===ee(n,t)[1]&&(a-=1),r=r.slice(0,a+1)}else r=[];for(let{start:e,value:a}of ei(n,t,1/0)){let t=e-l,n=t*i+u+t*o;r.push({offset:n,size:a,index:e}),l=e,u=n,i=a}return{offsetTree:r,lastIndex:l,lastOffset:u,lastSize:i}}function ev(e,[t,n,o,r]){t.length>0&&o("received item sizes",t,N.DEBUG);let l=e.sizeTree,i=l,u=0;if(n.length>0&&Q(l)&&2===t.length){let e=t[0].size,o=t[1].size;i=n.reduce((t,n)=>et(et(t,n,e),n+1,o),i)}else[i,u]=function(e,t){let n=Q(e)?0:1/0;for(let o of t){let{size:t,startIndex:r,endIndex:l}=o;if(n=Math.min(n,r),Q(e)){e=et(e,0,t);continue}let i=ei(e,r-1,l+1);if(i.some(function(e){let{size:t,startIndex:n,endIndex:o}=e;return e=>e.start===n&&(e.end===o||e.end===1/0)&&e.value===t}(o)))continue;let u=!1,a=!1;for(let{start:n,end:o,value:r}of i)u?(l>=n||t===r)&&(e=function e(t,n){if(Q(t))return Z;let{k:o,l:r,r:l}=t;if(n===o){if(Q(r))return l;if(Q(l))return r;{let[e,n]=function e(t){return Q(t.r)?[t.k,t.v]:e(t.r)}(r);return el(eo(t,{k:e,v:n,l:function e(t){return Q(t.r)?t.l:el(eo(t,{r:e(t.r)}))}(r)}))}}return n<o?el(eo(t,{l:e(r,n)})):el(eo(t,{r:e(l,n)}))}(e,n)):(a=r!==t,u=!0),o>l&&l>=n&&r!==t&&(e=et(e,l+1,r));a&&(e=et(e,r,t))}return[e,n]}(i,t);if(i===l)return e;let{offsetTree:a,lastIndex:s,lastSize:c,lastOffset:d}=eg(e.offsetTree,u,i,r);return{sizeTree:i,offsetTree:a,lastIndex:s,lastOffset:d,lastSize:c,groupOffsetTree:n.reduce((e,t)=>et(e,t,ex(t,a,r)),Z),groupIndices:n}}function ex(e,t,n){if(0===t.length)return 0;let{offset:o,index:r,size:l}=t[ec(t,e,em)],i=e-r,u=l*i+(i-1)*n+o;return u>0?u+n:u}function eT(e,t,n){if(void 0!==e.groupIndex)return t.groupIndices[e.groupIndex]+1;{let o="LAST"===e.index?n:e.index,r=eI(o,t);return Math.max(0,r,Math.min(n,r))}}function eI(e,t){if(!ew(t))return e;let n=0;for(;t.groupIndices[n]<=e+n;)n++;return e+n}function ew(e){return!Q(e.groupOffsetTree)}let eC={offsetHeight:"height",offsetWidth:"width"},eS=P(([{log:e},{recalcInProgress:t}])=>{let n=g(),o=g(),r=T(o,0),l=g(),i=g(),u=v(0),a=v([]),s=v(void 0),c=v(void 0),d=v((e,t)=>j(e,eC[t])),f=v(void 0),m=v(0),p={offsetTree:[],sizeTree:Z,groupOffsetTree:Z,lastIndex:0,lastOffset:0,lastSize:0,groupIndices:[]},w=T(I(n,B(a,e,m),b(ev,p),C()),p),y=T(I(a,C(),b((e,t)=>({prev:e.current,current:t}),{prev:[],current:[]}),E(({prev:e})=>e)),[]);h(I(a,S(e=>e.length>0),B(w,m),E(([e,t,n])=>{let o=e.reduce((e,o,r)=>et(e,o,ex(o,t.offsetTree,n)||r),Z);return{...t,groupIndices:e,groupOffsetTree:o}})),w),h(I(o,B(w),S(([e,{lastIndex:t}])=>e<t),E(([e,{lastIndex:t,lastSize:n}])=>[{startIndex:e,endIndex:t,size:n}])),n),h(s,c);let H=T(I(s,E(e=>void 0===e)),!0);h(I(c,S(e=>void 0!==e&&Q(w(4).sizeTree)),E(e=>[{startIndex:0,endIndex:0,size:e}])),n);let R=x(I(n,B(w),b(({sizes:e},[t,n])=>({changed:n!==e,sizes:n}),{changed:!1,sizes:p}),E(e=>e.changed)));I(u,b((e,t)=>({diff:e.prev-t,prev:t}),{diff:0,prev:0}),E(e=>e.diff))(1,e=>{let{groupIndices:n}=w(4);if(e>0)t(0,!0),l(0,e+ef(e,n));else if(e<0){let t=y(4);t.length>0&&(e-=ef(-e,t)),i(0,e)}}),I(u,B(e))(1,([e,t])=>{e<0&&t("`firstItemIndex` prop should not be set to less than zero. If you don't know the total count, just use a very high value",{firstItemIndex:u},N.ERROR)});let z=x(l);h(I(l,B(w),E(([e,t])=>{let n=t.groupIndices.length>0,o=[],r=t.lastSize;if(n){let n=X(t.sizeTree,0),l=0,i=0;for(;l<e;){let e=t.groupIndices[i],u=t.groupIndices.length===i+1?1/0:t.groupIndices[i+1]-e-1;o.push({startIndex:e,endIndex:e,size:n}),o.push({startIndex:e+1,endIndex:e+1+u-1,size:r}),i++,l+=u+1}let u=en(t.sizeTree),a=l!==e;return a&&u.shift(),u.reduce((t,{k:n,v:o})=>{let r=t.ranges;return 0!==t.prevSize&&(r=[...t.ranges,{startIndex:t.prevIndex,endIndex:n+e-1,size:t.prevSize}]),{ranges:r,prevIndex:n+e,prevSize:o}},{ranges:o,prevIndex:e,prevSize:0}).ranges}return en(t.sizeTree).reduce((t,{k:n,v:o})=>({ranges:[...t.ranges,{startIndex:t.prevIndex,endIndex:n+e-1,size:t.prevSize}],prevIndex:n+e,prevSize:o}),{ranges:[],prevIndex:0,prevSize:r}).ranges})),n);let k=x(I(i,B(w,m),E(([e,{offsetTree:t},n])=>ex(-e,t,n))));return h(I(i,B(w,m),E(([e,t,n])=>{let o=t.groupIndices.length>0;if(o){if(Q(t.sizeTree))return t;let o=Z,r=y(4),l=0,i=0,u=0;for(;l<-e;){u=r[i];let e=r[i+1]-u-1;i++,l+=e+1}o=en(t.sizeTree).reduce((t,{k:n,v:o})=>et(t,Math.max(0,n+e),o),o);let a=l!==-e;if(a){let n=X(t.sizeTree,u);o=et(o,0,n);let r=ee(t.sizeTree,-e+1)[1];o=et(o,1,r)}return{...t,sizeTree:o,...eg(t.offsetTree,0,o,n)}}{let o=en(t.sizeTree).reduce((t,{k:n,v:o})=>et(t,Math.max(0,n+e),o),Z);return{...t,sizeTree:o,...eg(t.offsetTree,0,o,n)}}})),w),{data:f,totalCount:o,sizeRanges:n,groupIndices:a,defaultItemSize:c,fixedItemSize:s,unshiftWith:l,shiftWith:i,shiftWithOffset:k,beforeUnshiftWith:z,firstItemIndex:u,gap:m,sizes:w,listRefresh:R,statefulTotalCount:r,trackItemSizes:H,itemSize:d}},a(G,ed),{singleton:!0}),eE="undefined"!=typeof document&&"scrollBehavior"in document.documentElement.style;function ey(e){let t="number"==typeof e?{index:e}:e;return t.align||(t.align="start"),t.behavior&&eE||(t.behavior="auto"),t.offset||(t.offset=0),t}let eb=P(([{sizes:e,totalCount:t,listRefresh:n,gap:o},{scrollingInProgress:r,viewportHeight:l,scrollTo:i,smoothScrollTargetReached:u,headerHeight:a,footerHeight:s,fixedHeaderHeight:c,fixedFooterHeight:d},{log:f}])=>{let m=g(),x=v(0),T=null,w=null,C=null;function S(){T&&(T(),T=null),C&&(C(),C=null),w&&(clearTimeout(w),w=null),r(0,!1)}return h(I(m,B(e,l,t,x,a,s,f),B(o,c,d),E(([[e,t,o,l,i,a,s,c],d,f,h])=>{let g=ey(e),{align:v,behavior:x,offset:E}=g,y=l-1,b=eT(g,t,y),H=ex(b,t.offsetTree,d)+a;"end"===v?(H+=f+ee(t.sizeTree,b)[1]-o+h,b===y&&(H+=s)):"center"===v?H+=(f+ee(t.sizeTree,b)[1]-o+h)/2:H-=i,E&&(H+=E);let R=t=>{S(),t?(c("retrying to scroll to",{location:e},N.DEBUG),m(0,e)):c("list did not change, scroll successful",{},N.DEBUG)};if(S(),"smooth"===x){let e=!1;C=n(1,t=>{e=e||t}),T=p(u,()=>{R(e)})}else T=p(I(n,e=>{let t=setTimeout(()=>{e(!1)},150);return n=>{n&&(e(!0),clearTimeout(t))}}),R);return w=setTimeout(()=>{S()},1200),r(0,!0),c("scrolling from index to",{index:b,top:H,behavior:x},N.DEBUG),{top:H,behavior:x}})),i),{scrollToIndex:m,topListHeight:x}},a(eS,Y,G),{singleton:!0}),eH="down",eR={atBottom:!1,notAtBottomBecause:"NOT_SHOWING_LAST_ITEM",state:{offsetBottom:0,scrollTop:0,viewportHeight:0,scrollHeight:0}},ez=P(([{scrollContainerState:e,scrollTop:t,viewportHeight:n,headerHeight:o,footerHeight:r,scrollBy:l}])=>{let i=v(!1),u=v(!0),a=g(),s=g(),c=v(4),d=v(0),f=T(I(k(I(L(t),H(1),y(!0)),I(L(t),H(1),y(!1),z(100))),C()),!1),m=T(I(k(I(l,y(!0)),I(l,y(!1),z(200))),C()),!1);h(I(O(L(t),L(d)),E(([e,t])=>e<=t),C()),u),h(I(u,R(50)),s);let p=x(I(O(e,L(n),L(o),L(r),L(c)),b((e,[{scrollTop:t,scrollHeight:n},o,r,l,i])=>{let u={viewportHeight:o,scrollTop:t,scrollHeight:n};if(t+o-n>-i){let n,o;return t>e.state.scrollTop?(n="SCROLLED_DOWN",o=e.state.scrollTop-t):(n="SIZE_DECREASED",o=e.state.scrollTop-t||e.scrollTopDelta),{atBottom:!0,state:u,atBottomBecause:n,scrollTopDelta:o}}return{atBottom:!1,notAtBottomBecause:u.scrollHeight>e.state.scrollHeight?"SIZE_INCREASED":o<e.state.viewportHeight?"VIEWPORT_HEIGHT_DECREASING":t<e.state.scrollTop?"SCROLLING_UPWARDS":"NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM",state:u}},eR),C((e,t)=>e&&e.atBottom===t.atBottom))),w=T(I(e,b((e,{scrollTop:t,scrollHeight:n,viewportHeight:o})=>{if(K(e.scrollHeight,n))return{scrollTop:t,scrollHeight:n,jump:0,changed:!1};{let r=n-(t+o)<1;return e.scrollTop!==t&&r?{scrollHeight:n,scrollTop:t,jump:e.scrollTop-t,changed:!0}:{scrollHeight:n,scrollTop:t,jump:0,changed:!0}}},{scrollHeight:0,jump:0,scrollTop:0,changed:!1}),S(e=>e.changed),E(e=>e.jump)),0);h(I(p,E(e=>e.atBottom)),i),h(I(i,R(50)),a);let P=v(eH);h(I(e,E(({scrollTop:e})=>e),C(),b((e,t)=>m(4)?{direction:e.direction,prevScrollTop:t}:{direction:t<e.prevScrollTop?"up":eH,prevScrollTop:t},{direction:eH,prevScrollTop:0}),E(e=>e.direction)),P),h(I(e,R(50),y("none")),P);let M=v(0);return h(I(f,S(e=>!e),y(0)),M),h(I(t,R(100),B(f),S(([e,t])=>!!t),b(([e,t],[n])=>[t,n],[0,0]),E(([e,t])=>t-e)),M),{isScrolling:f,isAtTop:u,isAtBottom:i,atBottomState:p,atTopStateChange:s,atBottomStateChange:a,scrollDirection:P,atBottomThreshold:c,atTopThreshold:d,scrollVelocity:M,lastJumpDueToItemResize:w}},a(Y)),eB=P(([{log:e}])=>{let t=v(!1),n=x(I(t,S(e=>e),C()));return t(1,t=>{t&&e(4)("props updated",{},N.DEBUG)}),{propsReady:t,didMount:n}},a(G),{singleton:!0});function ek(e,t){0==e?t():requestAnimationFrame(()=>ek(e-1,t))}function eL(e,t){let n="number"==typeof e?e:"LAST"===e.index?t-1:e.index;return n}let eO=P(([{sizes:e,listRefresh:t,defaultItemSize:n},{scrollTop:o},{scrollToIndex:r},{didMount:l}])=>{let i=v(!0),u=v(0),a=v(!1);return h(I(l,B(u),S(([e,t])=>!!t),y(!1)),i),I(O(t,l),B(i,e,n,a),S(([[,e],t,{sizeTree:n},o,r])=>e&&(!Q(n)||c(o))&&!t&&!r),B(u))(1,([,e])=>{a(0,!0),ek(3,()=>{p(o,()=>{i(0,!0)}),r(0,e)})}),{scrolledToInitialItem:i,initialTopMostItemIndex:u}},a(eS,Y,eb,eB),{singleton:!0});function eP(e){return!!e&&("smooth"===e?"smooth":"auto")}let eM=(e,t)=>"function"==typeof e?eP(e(t)):t&&eP(e),eF=P(([{totalCount:e,listRefresh:t},{isAtBottom:n,atBottomState:o},{scrollToIndex:r},{scrolledToInitialItem:l},{propsReady:i,didMount:u},{log:a},{scrollingInProgress:s}])=>{let c=v(!1),d=g(),f=null;function m(e){r(0,{index:"LAST",align:"end",behavior:e})}function h(e){let t=p(o,t=>{!e||t.atBottom||"SIZE_INCREASED"!==t.notAtBottomBecause||f||(a(4)("scrolling to bottom due to increased size",{},N.DEBUG),m("auto"))});setTimeout(t,100)}return I(O(I(L(e),H(1)),u),B(L(c),n,l,s),E(([[e,t],n,o,r,l])=>{let i=t&&r,u="auto";return i&&(u=eM(n,o||l),i=i&&!!u),{totalCount:e,shouldFollow:i,followOutputBehavior:u}}),S(({shouldFollow:e})=>e))(1,({totalCount:e,followOutputBehavior:n})=>{f&&(f(),f=null),f=p(t,()=>{a(4)("following output to ",{totalCount:e},N.DEBUG),m(n),f=null})}),I(O(L(c),e,i),S(([e,,t])=>e&&t),b(({value:e},[,t])=>({refreshed:e===t,value:t}),{refreshed:!1,value:0}),S(({refreshed:e})=>e),B(c,e))(1,([,e])=>{h(!1!==e)}),d(1,()=>{h(!1!==c(4))}),O(L(c),o)(1,([e,t])=>{e&&!t.atBottom&&"VIEWPORT_HEIGHT_DECREASING"===t.notAtBottomBecause&&m("auto")}),{followOutput:c,autoscrollToBottom:d}},a(eS,ez,eb,eO,eB,G,Y));function eA(e){return e.reduce((e,t)=>(e.groupIndices.push(e.totalCount),e.totalCount+=t+1,e),{totalCount:0,groupIndices:[]})}let eW=P(([{totalCount:e,groupIndices:t,sizes:n},{scrollTop:o,headerHeight:r}])=>{let l=g(),i=g(),u=x(I(l,E(eA)));return h(I(u,E(e=>e.totalCount)),e),h(I(u,E(e=>e.groupIndices)),t),h(I(O(o,n,r),S(([e,t])=>ew(t)),E(([e,t,n])=>ee(t.groupOffsetTree,Math.max(e-n,0),"v")[0]),C(),E(e=>[e])),i),{groupCounts:l,topItemsIndexes:i}},a(eS,Y));function eN(e,t){return!!(e&&e[0]===t[0]&&e[1]===t[1])}function eD(e,t){return!!(e&&e.startIndex===t.startIndex&&e.endIndex===t.endIndex)}let eV="bottom",eG="none";function e_(e,t,n){return"number"==typeof e?"up"===n&&"top"===t||n===eH&&t===eV?e:0:"up"===n?"top"===t?e.main:e.reverse:t===eV?e.main:e.reverse}function eU(e,t){return"number"==typeof e?e:e[t]||0}let e$=P(([{scrollTop:e,viewportHeight:t,deviation:n,headerHeight:o,fixedHeaderHeight:r}])=>{let l=g(),i=v(0),u=v(0),a=v(0),s=T(I(O(L(e),L(t),L(o),L(l,eN),L(a),L(i),L(r),L(n),L(u)),E(([e,t,n,[o,r],l,i,u,a,s])=>{let c=e-a,d=Math.max(n-c,0),f=eG,m=eU(s,"top"),h=eU(s,eV);return(o-=a,o+=n+u,r+=n+u,o>e+(i+u)-m&&(f="up"),(r-=a)<e-d+t+h&&(f=eH),f!==eG)?[Math.max(c-n-e_(l,"top",f)-m,0),c-d-u+t+e_(l,eV,f)+h]:null}),S(e=>null!=e),C(eN)),[0,0]);return{listBoundary:l,overscan:a,topListHeight:i,increaseViewportBy:u,visibleRange:s}},a(Y),{singleton:!0}),ej={items:[],topItems:[],offsetTop:0,offsetBottom:0,top:0,bottom:0,topListHeight:0,totalCount:0,firstItemIndex:0};function eK(e,t,n){let o;if(0===e.length)return[];if(!ew(t))return e.map(e=>({...e,index:e.index+n,originalIndex:e.index}));let r=e[0].index,l=e[e.length-1].index,i=[],u=ei(t.groupOffsetTree,r,l),a=0;for(let r of e){let e;(!o||o.end<r.index)&&(o=u.shift(),a=t.groupIndices.indexOf(o.start)),e=r.index===o.start?{type:"group",index:a}:{index:r.index-(a+1)+n,groupIndex:a},i.push({...e,size:r.size,offset:r.offset,originalIndex:r.index,data:r.data})}return i}function eq(e,t,n,o,r,l){let{lastSize:i,lastOffset:u,lastIndex:a}=r,s=0,c=0;if(e.length>0){s=e[0].offset;let t=e[e.length-1];c=t.offset+t.size}let d=n-a,f=s,m=u+d*i+(d-1)*o-c;return{items:eK(e,r,l),topItems:eK(t,r,l),topListHeight:t.reduce((e,t)=>t.size+e,0),offsetTop:s,offsetBottom:m,top:f,bottom:c,totalCount:n,firstItemIndex:l}}function eY(e,t,n,o,r,l){let i=0;if(n.groupIndices.length>0)for(let t of n.groupIndices){if(t-i>=e)break;i++}let u=e+i,a=eL(t,u),s=Array.from({length:u}).map((e,t)=>({index:t+a,size:0,offset:0,data:l[t+a]}));return eq(s,[],u,r,n,o)}let eZ=P(([{sizes:e,totalCount:t,data:n,firstItemIndex:o,gap:r},l,{visibleRange:i,listBoundary:u,topListHeight:a},{scrolledToInitialItem:s,initialTopMostItemIndex:d},{topListHeight:f},m,{didMount:p},{recalcInProgress:w}])=>{let y=v([]),b=v(0),H=g();h(l.topItemsIndexes,y);let z=T(I(O(p,w,L(i,eN),L(t),L(e),L(d),s,L(y),L(o),L(r),n),S(([e,t,,n,,,,,,,o])=>{let r=o&&o.length!==n;return e&&!t&&!r}),E(([,,[e,t],n,o,r,l,i,u,a,s])=>{var c;let{sizeTree:d,offsetTree:f}=o,m=b(4);if(0===n)return{...ej,totalCount:n};if(0===e&&0===t)return 0===m?{...ej,totalCount:n}:eY(m,r,o,u,a,s||[]);if(Q(d)){if(m>0)return null;let e=eq(function(e,t,n){if(ew(t)){let o=eI(e,t),r=ee(t.groupOffsetTree,o)[0];return[{index:r,size:0,offset:0},{index:o,size:0,offset:0,data:n&&n[0]}]}return[{index:e,size:0,offset:0,data:n&&n[0]}]}(eL(r,n),o,s),[],n,a,o,u);return e}let h=[];if(i.length>0){let e=i[0],t=i[i.length-1],n=0;for(let o of ei(d,e,t)){let r=o.value,l=Math.max(o.start,e),i=Math.min(o.end,t);for(let e=l;e<=i;e++)h.push({index:e,size:r,offset:n,data:s&&s[e]}),n+=r}}if(!l)return eq([],h,n,a,o,u);let p=i.length>0?i[i.length-1]+1:0,g=function(e,t,n,o=0){return o>0&&(t=Math.max(t,e[ec(e,o,em)].offset)),eu(function(e,t,n,o){let r=ec(e,t,o),l=ec(e,n,o,r);return e.slice(r,l+1)}(e,t,n,eh),ep)}(f,e,t,p);if(0===g.length)return null;let v=n-1,x=((n=>{for(let o of g){let r=o.value,l=r.offset,i=o.start,u=r.size;if(r.offset<e){i+=Math.floor((e-r.offset+a)/(u+a));let t=i-o.start;l+=t*u+t*a}i<p&&(l+=(p-i)*u,i=p);let c=Math.min(o.end,v);for(let e=i;e<=c&&!(l>=t);e++)n.push({index:e,size:u,offset:l,data:s&&s[e]}),l+=u+a}})(c=[]),c);return eq(x,h,n,a,o,u)}),S(e=>null!==e),C()),ej);h(I(n,S(c),E(e=>null==e?void 0:e.length)),t),h(I(z,E(e=>e.topListHeight)),f),h(f,a),h(I(z,E(e=>[e.top,e.bottom])),u),h(I(z,E(e=>e.items)),H);let k=x(I(z,S(({items:e})=>e.length>0),B(t,n),S(([{items:e},t])=>e[e.length-1].originalIndex===t-1),E(([,e,t])=>[e-1,t]),C(eN),E(([e])=>e))),P=x(I(z,R(200),S(({items:e,topItems:t})=>e.length>0&&e[0].originalIndex===t.length),E(({items:e})=>e[0].index),C())),M=x(I(z,S(({items:e})=>e.length>0),E(({items:e})=>{let t=0,n=e.length-1;for(;"group"===e[t].type&&t<n;)t++;for(;"group"===e[n].type&&n>t;)n--;return{startIndex:e[t].index,endIndex:e[n].index}}),C(eD)));return{listState:z,topItemsIndexes:y,endReached:k,startReached:P,rangeChanged:M,itemsRendered:H,initialItemCount:b,...m}},a(eS,eW,e$,eO,eb,ez,eB,ed),{singleton:!0}),eJ=P(([{sizes:e,firstItemIndex:t,data:n,gap:o},{initialTopMostItemIndex:r},{initialItemCount:l,listState:i},{didMount:u}])=>(h(I(u,B(l),S(([,e])=>0!==e),B(r,e,t,o,n),E(([[,e],t,n,o,r,l=[]])=>eY(e,t,n,o,r,l))),i),{}),a(eS,eO,eZ,eB),{singleton:!0}),eQ=P(([{scrollVelocity:e}])=>{let t=v(!1),n=g(),o=v(!1);return h(I(e,B(o,t,n),S(([e,t])=>!!t),E(([e,t,n,o])=>{let{exit:r,enter:l}=t;if(n){if(r(e,o))return!1}else if(l(e,o))return!0;return n}),C()),t),I(O(t,e,n),B(o))(1,([[e,t,n],o])=>e&&o&&o.change&&o.change(t,n)),{isSeeking:t,scrollSeekConfiguration:o,scrollVelocity:e,scrollSeekRangeChanged:n}},a(ez),{singleton:!0}),eX=P(([{topItemsIndexes:e}])=>{let t=v(0);return h(I(t,S(e=>e>0),E(e=>Array.from({length:e}).map((e,t)=>t))),e),{topItemCount:t}},a(eZ)),e0=P(([{footerHeight:e,headerHeight:t,fixedHeaderHeight:n,fixedFooterHeight:o},{listState:r}])=>{let l=g(),i=T(I(O(e,o,t,n,r),E(([e,t,n,o,r])=>e+t+n+o+r.offsetBottom+r.bottom)),0);return h(L(i),l),{totalListHeight:i,totalListHeightChanged:l}},a(Y,eZ),{singleton:!0});function e1(e){let t,n=!1;return()=>(n||(n=!0,t=e()),t)}let e2=e1(()=>/iP(ad|od|hone)/i.test(navigator.userAgent)&&/WebKit/i.test(navigator.userAgent)),e4=P(([{scrollBy:e,scrollTop:t,deviation:n,scrollingInProgress:o},{isScrolling:r,isAtBottom:l,scrollDirection:i,lastJumpDueToItemResize:u},{listState:a},{beforeUnshiftWith:s,shiftWithOffset:c,sizes:d,gap:f},{log:m},{recalcInProgress:p}])=>{let g=x(I(a,B(u),b(([,e,t,n],[{items:o,totalCount:r,bottom:l,offsetBottom:i},u])=>{let a=l+i,s=0;if(t===r&&e.length>0&&o.length>0){let t=0===o[0].originalIndex&&0===e[0].originalIndex;t||0==(s=a-n)||(s+=u)}return[s,o,r,a]},[0,[],0,0]),S(([e])=>0!==e),B(t,i,o,l,m,p),S(([,e,t,n,,,o])=>!o&&!n&&0!==e&&"up"===t),E(([[e],,,,,t])=>(t("Upward scrolling compensation",{amount:e},N.DEBUG),e))));function v(t){t>0?(e(0,{top:-t,behavior:"auto"}),n(0,0)):(n(0,0),e(0,{top:-t,behavior:"auto"}))}return I(g,B(n,r))(1,([e,t,o])=>{o&&e2()?n(0,t-e):v(-e)}),I(O(T(r,!1),n,p),S(([e,t,n])=>!e&&!n&&0!==t),E(([e,t])=>t),R(1))(1,v),h(I(c,E(e=>({top:-e}))),e),I(s,B(d,f),E(([e,{lastSize:t,groupIndices:n,sizeTree:o},r])=>{if(0===n.length)return e*(t+r);{let l=0,i=X(o,0),u=0,a=0;for(;u<e;){u++,l+=i;let o=n.length===a+1?1/0:n[a+1]-n[a]-1;u+o>e&&(l-=i,o=e-u+1),u+=o,l+=o*(t+r),a++}return l}}))(1,t=>{n(0,t),requestAnimationFrame(()=>{e(0,{top:t}),requestAnimationFrame(()=>{n(0,0),p(0,!1)})})}),{deviation:n}},a(Y,ez,eZ,eS,G,ed)),e3=P(([{didMount:e},{scrollTo:t},{listState:n}])=>{let o=v(0);return I(e,B(o),S(([,e])=>0!==e),E(([,e])=>({top:e})))(1,e=>{p(I(n,H(1),S(e=>e.items.length>1)),()=>{requestAnimationFrame(()=>{t(0,e)})})}),{initialScrollTop:o}},a(eB,Y,eZ),{singleton:!0}),e5=P(([{viewportHeight:e},{totalListHeight:t}])=>{let n=v(!1),o=T(I(O(n,e,t),S(([e])=>e),E(([,e,t])=>Math.max(0,e-t)),R(0),C()),0);return{alignToBottom:n,paddingTopAddition:o}},a(Y,e0),{singleton:!0}),e6=P(([{scrollTo:e,scrollContainerState:t}])=>{let n=g(),o=g(),r=g(),l=v(!1),i=v(void 0);return h(I(O(n,o),E(([{viewportHeight:e,scrollTop:t,scrollHeight:n},{offsetTop:o}])=>({scrollTop:Math.max(0,t-o),scrollHeight:n,viewportHeight:e}))),t),h(I(e,B(o),E(([e,{offsetTop:t}])=>({...e,top:e.top+t}))),r),{useWindowScroll:l,customScrollParent:i,windowScrollContainerState:n,windowViewportRect:o,windowScrollTo:r}},a(Y)),e7=({itemTop:e,itemBottom:t,viewportTop:n,viewportBottom:o,locationParams:{behavior:r,align:l,...i}})=>e<n?{...i,behavior:r,align:null!=l?l:"start"}:t>o?{...i,behavior:r,align:null!=l?l:"end"}:null,e9=P(([{sizes:e,totalCount:t,gap:n},{scrollTop:o,viewportHeight:r,headerHeight:l,fixedHeaderHeight:i,fixedFooterHeight:u,scrollingInProgress:a},{scrollToIndex:s}])=>{let c=g();return h(I(c,B(e,r,t,l,i,u,o),B(n),E(([[e,t,n,o,r,l,i,u],s])=>{let{done:c,behavior:d,align:f,calculateViewLocation:m=e7,...h}=e,g=eT(e,t,o-1),v=ex(g,t.offsetTree,s)+r+l,x=v+ee(t.sizeTree,g)[1],T=m({itemTop:v,itemBottom:x,viewportTop:u+l,viewportBottom:u+n-i,locationParams:{behavior:d,align:f,...h}});return T?c&&p(I(a,S(e=>!1===e),H(a(4)?1:2)),c):c&&c(),T}),S(e=>null!==e)),s),{scrollIntoView:c}},a(eS,Y,eb,eZ,G),{singleton:!0}),e8=P(([{sizes:e,sizeRanges:t},{scrollTop:n},{initialTopMostItemIndex:o},{didMount:r},{useWindowScroll:l,windowScrollContainerState:i,windowViewportRect:u}])=>{let a=g(),s=v(void 0),d=v(null),f=v(null);return h(i,d),h(u,f),I(a,B(e,n,l,d,f))(1,([e,t,n,o,r,l])=>{let i=en(t.sizeTree).map(({k:e,v:t},n,o)=>{let r=o[n+1],l=r?r.k-1:1/0;return{startIndex:e,endIndex:l,size:t}});o&&null!==r&&null!==l&&(n=r.scrollTop-l.offsetTop),e({ranges:i,scrollTop:n})}),h(I(s,S(c),E(te)),o),h(I(r,B(s),S(([,e])=>void 0!==e),C(),E(([,e])=>e.ranges)),t),{getState:a,restoreStateFrom:s}},a(eS,Y,eO,eB,e6));function te(e){return{offset:e.scrollTop,index:0,align:"start"}}let tt=P(([e,t,n,o,r,l,i,u,a,s])=>({...e,...t,...n,...o,...r,...l,...i,...u,...a,...s}),a(e$,eJ,eB,eQ,e0,e3,e5,e6,e9,G)),tn=P(([{totalCount:e,sizeRanges:t,fixedItemSize:n,defaultItemSize:o,trackItemSizes:r,itemSize:l,data:i,firstItemIndex:u,groupIndices:a,statefulTotalCount:s,gap:c,sizes:d},{initialTopMostItemIndex:f,scrolledToInitialItem:m},p,g,v,{listState:x,topItemsIndexes:T,...w},{scrollToIndex:C},S,{topItemCount:y},{groupCounts:b},H])=>(h(w.rangeChanged,H.scrollSeekRangeChanged),h(I(H.windowViewportRect,E(e=>e.visibleHeight)),p.viewportHeight),{totalCount:e,data:i,firstItemIndex:u,sizeRanges:t,initialTopMostItemIndex:f,scrolledToInitialItem:m,topItemsIndexes:T,topItemCount:y,groupCounts:b,fixedItemHeight:n,defaultItemHeight:o,gap:c,...v,statefulTotalCount:s,listState:x,scrollToIndex:C,trackItemSizes:r,itemSize:l,groupIndices:a,...w,...H,...p,sizes:d,...g}),a(eS,eO,Y,e8,eF,eZ,eb,e4,eX,eW,tt)),to="-webkit-sticky",tr="sticky",tl=e1(()=>{if("undefined"==typeof document)return tr;let e=document.createElement("div");return e.style.position=to,e.style.position===to?to:tr});function ti(e,t){let n=r.useRef(null),o=r.useCallback(o=>{let r,l;if(null===o||!o.offsetParent)return;let i=o.getBoundingClientRect(),u=i.width;if(t){let e=t.getBoundingClientRect(),n=i.top-e.top;r=e.height-Math.max(0,n),l=n+t.scrollTop}else r=window.innerHeight-Math.max(0,i.top),l=i.top+window.pageYOffset;n.current={offsetTop:l,visibleHeight:r,visibleWidth:u},e(n.current)},[e,t]),{callbackRef:l,ref:i}=_(o),u=r.useCallback(()=>{o(i.current)},[o,i]);return r.useEffect(()=>{if(!t)return window.addEventListener("scroll",u),window.addEventListener("resize",u),()=>{window.removeEventListener("scroll",u),window.removeEventListener("resize",u)};{t.addEventListener("scroll",u);let e=new ResizeObserver(u);return e.observe(t),()=>{t.removeEventListener("scroll",u),e.unobserve(t)}}},[u,t]),l}let tu=r.createContext(void 0),ta=r.createContext(void 0);function ts(e){return e}let tc=P(()=>{let e=v(e=>`Item ${e}`),t=v(null),n=v(e=>`Group ${e}`),o=v({}),r=v(ts),l=v("div"),i=v(d),u=(e,t=null)=>T(I(o,E(t=>t[e]),C()),t);return{context:t,itemContent:e,groupContent:n,components:o,computeItemKey:r,headerFooterTag:l,scrollerRef:i,FooterComponent:u("Footer"),HeaderComponent:u("Header"),TopItemListComponent:u("TopItemList"),ListComponent:u("List","div"),ItemComponent:u("Item","div"),GroupComponent:u("Group","div"),ScrollerComponent:u("Scroller","div"),EmptyPlaceholder:u("EmptyPlaceholder"),ScrollSeekPlaceholder:u("ScrollSeekPlaceholder")}}),td=P(([e,t])=>({...e,...t}),a(tn,tc)),tf=({height:e})=>r.createElement("div",{style:{height:e}}),tm={position:tl(),zIndex:1,overflowAnchor:"none"},th={overflowAnchor:"none"},tp=r.memo(function({showTopList:e=!1}){let t=tk("listState"),n=tB("sizeRanges"),o=tk("useWindowScroll"),l=tk("customScrollParent"),i=tB("windowScrollContainerState"),u=tB("scrollContainerState"),a=l||o?i:u,s=tk("itemContent"),c=tk("context"),f=tk("groupContent"),m=tk("trackItemSizes"),h=tk("itemSize"),p=tk("log"),g=tB("gap"),{callbackRef:v}=$(n,h,m,e?d:a,p,g,l),[x,T]=r.useState(0);tL("deviation",e=>{x!==e&&T(e)});let I=tk("EmptyPlaceholder"),w=tk("ScrollSeekPlaceholder")||tf,C=tk("ListComponent"),S=tk("ItemComponent"),E=tk("GroupComponent"),y=tk("computeItemKey"),b=tk("isSeeking"),H=tk("groupIndices").length>0,R=tk("paddingTopAddition"),z=tk("scrolledToInitialItem"),B=e?{}:{boxSizing:"border-box",paddingTop:t.offsetTop+R,paddingBottom:t.offsetBottom,marginTop:x,...z?{}:{visibility:"hidden"}};return!e&&0===t.totalCount&&I?r.createElement(I,tT(I,c)):r.createElement(C,{...tT(C,c),ref:v,style:B,"data-test-id":e?"virtuoso-top-item-list":"virtuoso-item-list"},(e?t.topItems:t.items).map(e=>{let n=e.originalIndex,o=y(n+t.firstItemIndex,e.data,c);return b?r.createElement(w,{...tT(w,c),key:o,index:e.index,height:e.size,type:e.type||"item",..."group"===e.type?{}:{groupIndex:e.groupIndex}}):"group"===e.type?r.createElement(E,{...tT(E,c),key:o,"data-index":n,"data-known-size":e.size,"data-item-index":e.index,style:tm},f(e.index,c)):r.createElement(S,{...tT(S,c),...tI(S,e.data),key:o,"data-index":n,"data-known-size":e.size,"data-item-index":e.index,"data-item-group-index":e.groupIndex,style:th},H?s(e.index,e.groupIndex,e.data,c):s(e.index,e.data,c))}))}),tg={height:"100%",outline:"none",overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},tv={width:"100%",height:"100%",position:"absolute",top:0},tx={width:"100%",position:tl(),top:0,zIndex:1};function tT(e,t){if("string"!=typeof e)return{context:t}}function tI(e,t){return{item:"string"==typeof e?void 0:t}}let tw=r.memo(function(){let e=tk("HeaderComponent"),t=tB("headerHeight"),n=tk("headerFooterTag"),o=U(e=>t(j(e,"height"))),l=tk("context");return e?r.createElement(n,{ref:o},r.createElement(e,tT(e,l))):null}),tC=r.memo(function(){let e=tk("FooterComponent"),t=tB("footerHeight"),n=tk("headerFooterTag"),o=U(e=>t(j(e,"height"))),l=tk("context");return e?r.createElement(n,{ref:o},r.createElement(e,tT(e,l))):null});function tS({usePublisher:e,useEmitter:t,useEmitterValue:n}){let o=r.memo(function({style:o,children:l,...i}){let u=e("scrollContainerState"),a=n("ScrollerComponent"),s=e("smoothScrollTargetReached"),c=n("scrollerRef"),d=n("context"),{scrollerRef:f,scrollByCallback:m,scrollToCallback:h}=q(u,s,a,c);return t("scrollTo",h),t("scrollBy",m),r.createElement(a,{ref:f,style:{...tg,...o},"data-test-id":"virtuoso-scroller","data-virtuoso-scroller":!0,tabIndex:0,...i,...tT(a,d)},l)});return o}function tE({usePublisher:e,useEmitter:t,useEmitterValue:n}){let o=r.memo(function({style:o,children:l,...i}){let u=e("windowScrollContainerState"),a=n("ScrollerComponent"),s=e("smoothScrollTargetReached"),c=n("totalListHeight"),f=n("deviation"),m=n("customScrollParent"),h=n("context"),{scrollerRef:p,scrollByCallback:g,scrollToCallback:v}=q(u,s,a,d,m);return W(()=>(p.current=m||window,()=>{p.current=null}),[p,m]),t("windowScrollTo",v),t("scrollBy",g),r.createElement(a,{style:{position:"relative",...o,...0!==c?{height:c+f}:{}},"data-virtuoso-scroller":!0,...i,...tT(a,h)},l)});return o}let ty=({children:e})=>{let t=r.useContext(tu),n=tB("viewportHeight"),o=tB("fixedItemHeight"),l=U(i(n,e=>j(e,"height")));return r.useEffect(()=>{t&&(n(t.viewportHeight),o(t.itemHeight))},[t,n,o]),r.createElement("div",{style:tv,ref:l,"data-viewport-type":"element"},e)},tb=({children:e})=>{let t=r.useContext(tu),n=tB("windowViewportRect"),o=tB("fixedItemHeight"),l=tk("customScrollParent"),i=ti(n,l);return r.useEffect(()=>{t&&(o(t.itemHeight),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,n,o]),r.createElement("div",{ref:i,style:tv,"data-viewport-type":"window"},e)},tH=({children:e})=>{let t=tk("TopItemListComponent"),n=tk("headerHeight"),o={...tx,marginTop:`${n}px`},l=tk("context");return r.createElement(t||"div",{style:o,context:l},e)},tR=r.memo(function(e){let t=tk("useWindowScroll"),n=tk("topItemsIndexes").length>0,o=tk("customScrollParent"),l=o||t?tP:tO,i=o||t?tb:ty;return r.createElement(l,{...e},n&&r.createElement(tH,null,r.createElement(tp,{showTopList:!0})),r.createElement(i,null,r.createElement(tw,null),r.createElement(tp,null),r.createElement(tC,null)))}),{Component:tz,usePublisher:tB,useEmitterValue:tk,useEmitter:tL}=A(td,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",itemContent:"itemContent",groupContent:"groupContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",groupCounts:"groupCounts",topItemCount:"topItemCount",firstItemIndex:"firstItemIndex",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",autoscrollToBottom:"autoscrollToBottom",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},tR),tO=tS({usePublisher:tB,useEmitterValue:tk,useEmitter:tL}),tP=tE({usePublisher:tB,useEmitterValue:tk,useEmitter:tL}),tM=tz,tF={items:[],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},tA={items:[{index:0}],offsetBottom:0,offsetTop:0,top:0,bottom:0,itemHeight:0,itemWidth:0},{round:tW,ceil:tN,floor:tD,min:tV,max:tG}=Math;function t_(e,t,n){return Array.from({length:t-e+1}).map((t,o)=>{let r=null===n?null:n[o+e];return{index:o+e,data:r}})}function tU(e,t){return e&&e.column===t.column&&e.row===t.row}function t$(e,t){return e&&e.width===t.width&&e.height===t.height}let tj=P(([{overscan:e,visibleRange:t,listBoundary:n},{scrollTop:o,viewportHeight:r,scrollBy:l,scrollTo:i,smoothScrollTargetReached:u,scrollContainerState:a,footerHeight:s,headerHeight:c},d,f,{propsReady:m,didMount:w},{windowViewportRect:b,useWindowScroll:z,customScrollParent:k,windowScrollContainerState:P,windowScrollTo:M},F])=>{let A=v(0),W=v(0),N=v(tF),D=v({height:0,width:0}),V=v({height:0,width:0}),G=g(),_=g(),U=v(0),$=v(null),j=v({row:0,column:0}),K=g(),q=g(),Y=v(!1),Z=v(0),J=v(!0),Q=v(!1);I(w,B(Z),S(([e,t])=>!!t))(1,()=>{J(0,!1),W(0,0)}),I(O(w,J,V,D,Z,Q),S(([e,t,n,o,,r])=>e&&!t&&0!==n.height&&0!==o.height&&!r))(1,([,,,,e])=>{Q(0,!0),ek(1,()=>{G(0,e)}),p(I(o),()=>{n(0,[0,0]),J(0,!0)})}),h(I(q,S(e=>null!=e&&e.scrollTop>0),y(0)),W),I(w,B(q),S(([,e])=>null!=e))(1,([,e])=>{e&&(D(0,e.viewport),V(0,null==e?void 0:e.item),j(0,e.gap),e.scrollTop>0&&(Y(0,!0),p(I(o,H(1)),e=>{Y(0,!1)}),i(0,{top:e.scrollTop})))}),h(I(D,E(({height:e})=>e)),r),h(I(O(L(D,t$),L(V,t$),L(j,(e,t)=>e&&e.column===t.column&&e.row===t.row),L(o)),E(([e,t,n,o])=>({viewport:e,item:t,gap:n,scrollTop:o}))),K),h(I(O(L(A),t,L(j,tU),L(V,t$),L(D,t$),L($),L(W),L(Y),L(J),L(Z)),S(([,,,,,,,e])=>!e),E(([e,[t,n],o,r,l,i,u,,a,s])=>{let c,d;let{row:f,column:m}=o,{height:h,width:p}=r,{width:g}=l;if(0===u&&(0===e||0===g))return tF;if(0===p){var v;let t=eL(s,e),n=0===t?Math.max(u-1,0):t;return v=t_(t,n,i),{...tA,items:v}}let x=tY(g,p,m);a?0===t&&0===n&&u>0?(c=0,d=u-1):(c=x*tD((t+f)/(h+f)),d=tV(e-1,tG(d=x*tN((n+f)/(h+f))-1,x-1)),c=tV(d,tG(0,c))):(c=0,d=-1);let T=t_(c,d,i),{top:I,bottom:w}=tK(l,o,r,T),C=tN(e/x),S=C*h+(C-1)*f;return{items:T,offsetTop:I,offsetBottom:S-w,top:I,bottom:w,itemHeight:h,itemWidth:p}})),N),h(I($,S(e=>null!==e),E(e=>e.length)),A),h(I(O(D,V,N,j),S(([e,t,{items:n}])=>n.length>0&&0!==t.height&&0!==e.height),E(([e,t,{items:n},o])=>{let{top:r,bottom:l}=tK(e,o,t,n);return[r,l]}),C(eN)),n);let X=v(!1);h(I(o,B(X),E(([e,t])=>t||0!==e)),X);let ee=x(I(L(N),S(({items:e})=>e.length>0),B(A,X),S(([{items:e},t,n])=>n&&e[e.length-1].index===t-1),E(([,e])=>e-1),C())),et=x(I(L(N),S(({items:e})=>e.length>0&&0===e[0].index),y(0),C())),en=x(I(L(N),B(Y),S(([{items:e},t])=>e.length>0&&!t),E(([{items:e}])=>({startIndex:e[0].index,endIndex:e[e.length-1].index})),C(eD),R(0)));h(en,f.scrollSeekRangeChanged),h(I(G,B(D,V,A,j),E(([e,t,n,o,r])=>{let l=ey(e),{align:i,behavior:u,offset:a}=l,s=l.index;"LAST"===s&&(s=o-1);let c=tq(t,r,n,s=tG(0,s,tV(o-1,s)));return"end"===i?c=tW(c-t.height+n.height):"center"===i&&(c=tW(c-t.height/2+n.height/2)),a&&(c+=a),{top:c,behavior:u}})),i);let eo=T(I(N,E(e=>e.offsetBottom+e.bottom)),0);return h(I(b,E(e=>({width:e.visibleWidth,height:e.visibleHeight}))),D),{data:$,totalCount:A,viewportDimensions:D,itemDimensions:V,scrollTop:o,scrollHeight:_,overscan:e,scrollBy:l,scrollTo:i,scrollToIndex:G,smoothScrollTargetReached:u,windowViewportRect:b,windowScrollTo:M,useWindowScroll:z,customScrollParent:k,windowScrollContainerState:P,deviation:U,scrollContainerState:a,footerHeight:s,headerHeight:c,initialItemCount:W,gap:j,restoreStateFrom:q,...f,initialTopMostItemIndex:Z,gridState:N,totalListHeight:eo,...d,startReached:et,endReached:ee,rangeChanged:en,stateChanged:K,propsReady:m,stateRestoreInProgress:Y,...F}},a(e$,Y,ez,eQ,eB,e6,G));function tK(e,t,n,o){let{height:r}=n;if(void 0===r||0===o.length)return{top:0,bottom:0};let l=tq(e,t,n,o[0].index),i=tq(e,t,n,o[o.length-1].index)+r;return{top:l,bottom:i}}function tq(e,t,n,o){let r=tY(e.width,n.width,t.column),l=tD(o/r),i=l*n.height+tG(0,l-1)*t.row;return i>0?i+t.row:i}function tY(e,t,n){return tG(1,tD((e+n)/(tD(t)+n)))}let tZ=P(()=>{let e=v(e=>`Item ${e}`),t=v({}),n=v(null),o=v("virtuoso-grid-item"),r=v("virtuoso-grid-list"),l=v(ts),i=v("div"),u=v(d),a=(e,n=null)=>T(I(t,E(t=>t[e]),C()),n);return{context:n,itemContent:e,components:t,computeItemKey:l,itemClassName:o,listClassName:r,headerFooterTag:i,scrollerRef:u,FooterComponent:a("Footer"),HeaderComponent:a("Header"),ListComponent:a("List","div"),ItemComponent:a("Item","div"),ScrollerComponent:a("Scroller","div"),ScrollSeekPlaceholder:a("ScrollSeekPlaceholder","div")}}),tJ=P(([e,t])=>({...e,...t}),a(tj,tZ)),tQ=r.memo(function(){let e=t6("gridState"),t=t6("listClassName"),n=t6("itemClassName"),o=t6("itemContent"),l=t6("computeItemKey"),i=t6("isSeeking"),u=t5("scrollHeight"),a=t6("ItemComponent"),s=t6("ListComponent"),c=t6("ScrollSeekPlaceholder"),d=t6("context"),f=t5("itemDimensions"),m=t5("gap"),h=t6("log"),p=t6("stateRestoreInProgress"),g=U(e=>{let t=e.parentElement.parentElement.scrollHeight;u(t);let n=e.firstChild;if(n){let{width:e,height:t}=n.getBoundingClientRect();f({width:e,height:t})}m({row:ne("row-gap",getComputedStyle(e).rowGap,h),column:ne("column-gap",getComputedStyle(e).columnGap,h)})});return p?null:r.createElement(s,{ref:g,className:t,...tT(s,d),style:{paddingTop:e.offsetTop,paddingBottom:e.offsetBottom},"data-test-id":"virtuoso-item-list"},e.items.map(t=>{let u=l(t.index,t.data,d);return i?r.createElement(c,{key:u,...tT(c,d),index:t.index,height:e.itemHeight,width:e.itemWidth}):r.createElement(a,{...tT(a,d),className:n,"data-index":t.index,key:u},o(t.index,t.data,d))}))}),tX=r.memo(function(){let e=t6("HeaderComponent"),t=t5("headerHeight"),n=t6("headerFooterTag"),o=U(e=>t(j(e,"height"))),l=t6("context");return e?r.createElement(n,{ref:o},r.createElement(e,tT(e,l))):null}),t0=r.memo(function(){let e=t6("FooterComponent"),t=t5("footerHeight"),n=t6("headerFooterTag"),o=U(e=>t(j(e,"height"))),l=t6("context");return e?r.createElement(n,{ref:o},r.createElement(e,tT(e,l))):null}),t1=({children:e})=>{let t=r.useContext(ta),n=t5("itemDimensions"),o=t5("viewportDimensions"),l=U(e=>{o(e.getBoundingClientRect())});return r.useEffect(()=>{t&&(o({height:t.viewportHeight,width:t.viewportWidth}),n({height:t.itemHeight,width:t.itemWidth}))},[t,o,n]),r.createElement("div",{style:tv,ref:l},e)},t2=({children:e})=>{let t=r.useContext(ta),n=t5("windowViewportRect"),o=t5("itemDimensions"),l=t6("customScrollParent"),i=ti(n,l);return r.useEffect(()=>{t&&(o({height:t.itemHeight,width:t.itemWidth}),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:t.viewportWidth}))},[t,n,o]),r.createElement("div",{ref:i,style:tv},e)},t4=r.memo(function({...e}){let t=t6("useWindowScroll"),n=t6("customScrollParent"),o=n||t?t8:t9,l=n||t?t2:t1;return r.createElement(o,{...e},r.createElement(l,null,r.createElement(tX,null),r.createElement(tQ,null),r.createElement(t0,null)))}),{Component:t3,usePublisher:t5,useEmitterValue:t6,useEmitter:t7}=A(tJ,{optional:{context:"context",totalCount:"totalCount",overscan:"overscan",itemContent:"itemContent",components:"components",computeItemKey:"computeItemKey",data:"data",initialItemCount:"initialItemCount",scrollSeekConfiguration:"scrollSeekConfiguration",headerFooterTag:"headerFooterTag",listClassName:"listClassName",itemClassName:"itemClassName",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel",restoreStateFrom:"restoreStateFrom",initialTopMostItemIndex:"initialTopMostItemIndex"},methods:{scrollTo:"scrollTo",scrollBy:"scrollBy",scrollToIndex:"scrollToIndex"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",stateChanged:"stateChanged"}},t4),t9=tS({usePublisher:t5,useEmitterValue:t6,useEmitter:t7}),t8=tE({usePublisher:t5,useEmitterValue:t6,useEmitter:t7});function ne(e,t,n){return("normal"===t||(null==t?void 0:t.endsWith("px"))||n(`${e} was not resolved to pixel value correctly`,t,N.WARN),"normal"===t)?0:parseInt(null!=t?t:"0",10)}let nt=P(()=>{let e=v(e=>r.createElement("td",null,"Item $",e)),t=v(null),n=v(null),o=v(null),l=v({}),i=v(ts),u=v(d),a=(e,t=null)=>T(I(l,E(t=>t[e]),C()),t);return{context:t,itemContent:e,fixedHeaderContent:n,fixedFooterContent:o,components:l,computeItemKey:i,scrollerRef:u,TableComponent:a("Table","table"),TableHeadComponent:a("TableHead","thead"),TableFooterComponent:a("TableFoot","tfoot"),TableBodyComponent:a("TableBody","tbody"),TableRowComponent:a("TableRow","tr"),ScrollerComponent:a("Scroller","div"),EmptyPlaceholder:a("EmptyPlaceholder"),ScrollSeekPlaceholder:a("ScrollSeekPlaceholder"),FillerRow:a("FillerRow")}}),nn=P(([e,t])=>({...e,...t}),a(tn,nt)),no=({height:e})=>r.createElement("tr",null,r.createElement("td",{style:{height:e}})),nr=({height:e})=>r.createElement("tr",null,r.createElement("td",{style:{height:e,padding:0,border:0}})),nl={overflowAnchor:"none"},ni=r.memo(function(){let e=nf("listState"),t=nd("sizeRanges"),n=nf("useWindowScroll"),o=nf("customScrollParent"),l=nd("windowScrollContainerState"),i=nd("scrollContainerState"),u=o||n?l:i,a=nf("itemContent"),s=nf("trackItemSizes"),c=nf("itemSize"),d=nf("log"),{callbackRef:f,ref:m}=$(t,c,s,u,d,void 0,o),[h,p]=r.useState(0);nm("deviation",e=>{h!==e&&(m.current.style.marginTop=`${e}px`,p(e))});let g=nf("EmptyPlaceholder"),v=nf("ScrollSeekPlaceholder")||no,x=nf("FillerRow")||nr,T=nf("TableBodyComponent"),I=nf("TableRowComponent"),w=nf("computeItemKey"),C=nf("isSeeking"),S=nf("paddingTopAddition"),E=nf("firstItemIndex"),y=nf("statefulTotalCount"),b=nf("context");if(0===y&&g)return r.createElement(g,tT(g,b));let H=e.offsetTop+S+h,R=e.offsetBottom,z=H>0?r.createElement(x,{height:H,key:"padding-top",context:b}):null,B=R>0?r.createElement(x,{height:R,key:"padding-bottom",context:b}):null,k=e.items.map(e=>{let t=e.originalIndex,n=w(t+E,e.data,b);return C?r.createElement(v,{...tT(v,b),key:n,index:e.index,height:e.size,type:e.type||"item"}):r.createElement(I,{...tT(I,b),...tI(I,e.data),key:n,"data-index":t,"data-known-size":e.size,"data-item-index":e.index,style:nl},a(e.index,e.data,b))});return r.createElement(T,{ref:f,"data-test-id":"virtuoso-item-list",...tT(T,b)},[z,...k,B])}),nu=({children:e})=>{let t=r.useContext(tu),n=nd("viewportHeight"),o=nd("fixedItemHeight"),l=U(i(n,e=>j(e,"height")));return r.useEffect(()=>{t&&(n(t.viewportHeight),o(t.itemHeight))},[t,n,o]),r.createElement("div",{style:tv,ref:l,"data-viewport-type":"element"},e)},na=({children:e})=>{let t=r.useContext(tu),n=nd("windowViewportRect"),o=nd("fixedItemHeight"),l=nf("customScrollParent"),i=ti(n,l);return r.useEffect(()=>{t&&(o(t.itemHeight),n({offsetTop:0,visibleHeight:t.viewportHeight,visibleWidth:100}))},[t,n,o]),r.createElement("div",{ref:i,style:tv,"data-viewport-type":"window"},e)},ns=r.memo(function(e){let t=nf("useWindowScroll"),n=nf("customScrollParent"),o=nd("fixedHeaderHeight"),l=nd("fixedFooterHeight"),u=nf("fixedHeaderContent"),a=nf("fixedFooterContent"),s=nf("context"),c=U(i(o,e=>j(e,"height"))),d=U(i(l,e=>j(e,"height"))),f=n||t?np:nh,m=n||t?na:nu,h=nf("TableComponent"),p=nf("TableHeadComponent"),g=nf("TableFooterComponent"),v=u?r.createElement(p,{key:"TableHead",style:{zIndex:2,position:"sticky",top:0},ref:c,...tT(p,s)},u()):null,x=a?r.createElement(g,{key:"TableFoot",style:{zIndex:1,position:"sticky",bottom:0},ref:d,...tT(g,s)},a()):null;return r.createElement(f,{...e},r.createElement(m,null,r.createElement(h,{style:{borderSpacing:0,overflowAnchor:"none"},...tT(h,s)},[v,r.createElement(ni,{key:"TableBody"}),x])))}),{Component:nc,usePublisher:nd,useEmitterValue:nf,useEmitter:nm}=A(nn,{required:{},optional:{restoreStateFrom:"restoreStateFrom",context:"context",followOutput:"followOutput",firstItemIndex:"firstItemIndex",itemContent:"itemContent",fixedHeaderContent:"fixedHeaderContent",fixedFooterContent:"fixedFooterContent",overscan:"overscan",increaseViewportBy:"increaseViewportBy",totalCount:"totalCount",topItemCount:"topItemCount",initialTopMostItemIndex:"initialTopMostItemIndex",components:"components",groupCounts:"groupCounts",atBottomThreshold:"atBottomThreshold",atTopThreshold:"atTopThreshold",computeItemKey:"computeItemKey",defaultItemHeight:"defaultItemHeight",fixedItemHeight:"fixedItemHeight",itemSize:"itemSize",scrollSeekConfiguration:"scrollSeekConfiguration",data:"data",initialItemCount:"initialItemCount",initialScrollTop:"initialScrollTop",alignToBottom:"alignToBottom",useWindowScroll:"useWindowScroll",customScrollParent:"customScrollParent",scrollerRef:"scrollerRef",logLevel:"logLevel"},methods:{scrollToIndex:"scrollToIndex",scrollIntoView:"scrollIntoView",scrollTo:"scrollTo",scrollBy:"scrollBy",getState:"getState"},events:{isScrolling:"isScrolling",endReached:"endReached",startReached:"startReached",rangeChanged:"rangeChanged",atBottomStateChange:"atBottomStateChange",atTopStateChange:"atTopStateChange",totalListHeightChanged:"totalListHeightChanged",itemsRendered:"itemsRendered",groupIndices:"groupIndices"}},ns),nh=tS({usePublisher:nd,useEmitterValue:nf,useEmitter:nm}),np=tE({usePublisher:nd,useEmitterValue:nf,useEmitter:nm})}}]);